import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// 引入axios

//注入swiper
import VAS from "vue-awesome-swiper";
Vue.use(VAS);
//全局加载 swiper的css文件
import "swiper/css/swiper.css";

// 引入element-ui
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);

//引入moment
import moment from "moment";
Vue.prototype.moment = moment;

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
